  <!-- {if $member_from eq 'seller'}-->
		{include file=member.header.html}
        <!--{else}-->
       {include file=buyer.header.html}
  <!--{/if}-->
<!-- 内容 -->
<div class="content f-cb"> 
  
  <!-- 当前位置 --> 
  {include file=path.html} 
  <!-- 内容左边栏 --> 
   <!-- {if $member_from eq 'seller'}-->
		{include file=member.menu.html}
        <!--{else}-->
        {include file=member.menu.buyer.html}
        <!--{/if}-->
  <!-- 内容右边栏 --> 
  <script>
  $(function(){
      $("form.pay_password").validate({
            errorPlacement: function(error, element) { 
                  error.appendTo( element.parent());
            },
            rules: {             
              pay_password: {
                required: true,
				  minlength  : 6,
                maxlength  : 20,
                checkPassword : true,
				 remote : {                //唯一
              url :'index.php?app=pay_password&act=ajaxCheckPayPassword',
              type:'post',
              data:{
                  pay_password : function(){
                      return $('#pay_password').val();
                      }
                
               }
            }
                }
            },
            messages: {
             pay_password: {
                 required: "支付密码不能为空",
				  minlength  : '密码长度应在6-20个字符之间',
				  maxlength  : '密码长度不能超过20个字符',
				     remote   : '支付密码不正确!'
              }
            }
      });
  });
  </script>
  <div class="con-extract-title">提取可用金额到银行卡</div>
  <div class="con-extract-r">
    <dl class="extract-template">
      <dd>
        <div class="extract-title">
          <table width="100%" border="0">
            <tr>
              <td align="left">账户名：{$user.user_name}</td>
              <td align="right">账户金额：<i>{$usermoney_info.total_money}</i>元</td>
              <td align="right">可用金额：<i>{$usermoney_info.user_money}</i>元</td>
              <td align="right">冻结金额：<i>{$usermoney_info.frozen_money}</i>元</td>
              <td align="right"><a href="index.php?app=paycenter&act=cash_log&from={$member_from}">提现纪录</a></td>
            </tr>
          </table>
        </div>
        <div class="extract-pointb">确认提现</div>
        <br />
        <div class="bank_msg">银行卡信息：<span style="font-size:14px; padding:0px 20px;">{$bank_info.real_name}</span><img src="{res file=images/member/}{$bank_info.bank_name}.gif" align="absmiddle" />&nbsp;&nbsp;&nbsp;&nbsp;({$bank_info.bank_account})</div>
        <form action="index.php?app=paycenter&act=need_pay_password&from={$member_from}" method="post" class="pay_password" >
          <table width="100%">
            <tr>
              <td ></td>
              <td ></td>
            </tr>
            <tr>
              <td align="right" width="80"> 提现金额： </td>
              <td ><i style="font-size:14px;">{$bank_info.money}</i>&nbsp;&nbsp;元 </td>
            </tr>
            <tr>
              <td align="right" >支付密码： </td>
              <td ><input type="password"  class="extract-t-ia b-radius" name="pay_password" id="pay_password"  value="" />
                <a href="index.php?app=account_security&act=authen_verify&mode=find_pay_password&from=buyer&from={$member_from}" class="bluea">忘记支付密码</a></td>
            </tr>
          </table>
          <div class="valid-d extract-chos"><input type="submit" class="b-radius keep" value="确认提现" />&nbsp;&nbsp;<a href="javascript:window.history.back();" class="b-radius off">返回修改</a></div>
        <input type="hidden" name="bank_id" value="{$bank_info.bank_id}"  />
        <input type="hidden" name="amount" value="{$bank_info.money}"  />
        </form>
      </dd>
    </dl>
  </div>
</div>

<!-- 页脚 --> 
{include file=footer.html}